package com.chatroomdemo.mapper;

import com.chatroomdemo.model.User;
import org.apache.ibatis.annotations.Mapper;



@Mapper
public interface UserMapper {
    //插入用户数据-->注册
    Integer insertUser(User user);

    //根据用户名查询用户信息-->登录
    User queryUserByName(String username);

}
